﻿using System;
using System.Windows.Forms;

namespace SyringeControl.ControlSamples
{
    public partial class UpperCaseTextBox : TextBox
    {
        protected override void OnKeyPress(KeyPressEventArgs e)
        {
            base.OnKeyPress(new KeyPressEventArgs(Char.ToUpper(e.KeyChar)));
        }
    }
}
